/*
 * Copyright 2016 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

.dt-range-input {
  appearance: none;
  margin: 0;
  padding: 0;
  height: 10px;
  width: 88px;
  outline: none;
  background: none;
}

.dt-range-input::-webkit-slider-thumb,
.-theme-preserve {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  width: 12px;
  height: 12px;
  margin-top: -5px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.dt-range-input::-webkit-slider-runnable-track {
  appearance: none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-background-elevation-2);
}

.dt-range-input:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 2px var(--color-primary-variant);
}

.dt-range-input:disabled::-webkit-slider-thumb {
  background-color: var(--color-text-disabled);
}

@media (forced-colors: active) {
  .dt-range-input {
    forced-color-adjust: none;
  }
}
